package com.xhs.main.service.cwb;

import com.xhs.main.entity.cwb.CwbProposer;

import java.util.List;

public interface CwbProposerService {

    void addCwbProposer(CwbProposer cwbProposer);

    //查询所有的申请信息
    List<CwbProposer> getAllCwbProposer();

    CwbProposer getOneByID(Integer cwbPId);

    //分页查询所有申请
    List<CwbProposer> getAllCwbProposerByLimit(Integer page,Integer limit);

    //条件模糊查询
    List<CwbProposer> getAllProposerByCondition(String employeeID,String applyType,String people,String department,Integer page,Integer limit);

    //软删除(更改数据状态)
    Integer updateOneID(Integer id);

    //更新申请信息
    void updateOneApply(String reason,String bill,Integer id);

    //部门经费申请汇总
    Double getAllMoney();

    //待处理的申请
    Integer getAllOpr();

    //未处理的申请
    Integer getAllNoOpr();
}